import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import Vant from 'vant';
import 'vant/lib/index.css';
import axios from 'axios'
Vue.use(Vant);
// ElementUI
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
Vue.use(ElementUI);
//封装api
import APIurl  from "./utils/network/index";
Vue.prototype.$APIurl = APIurl;
//login
import Loading from './components/loading/index.js'
Vue.use(Loading)

import "./components/config/directive";////引入全局自定义指令

Vue.config.productionTip = false
Vue.prototype.$axios = axios;
new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
